sm: Print Yubikey attestation extensions with --dump-cert.
authorWerner Koch <wk@gnupg.org>
Fri, 1 Mar 2019 14:23:49 +0000 (15:23 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000 (20:11 +0100)
commitde75e2567d41d40220af5b530b6d584cd238cbe3
treebd86f0c6ff981c2ad6ca2957fb4ef3651a7dbf62
parent5e63fd01ba3b44fa27507fe8cc579c325870cb64
sm: Print Yubikey attestation extensions with --dump-cert.

* sm/keylist.c (oidtranstbl): Add Yubikey OIDs.
(OID_FLAG_HEX): New.
(print_hex_extn): New.
(list_cert_raw): Make use of that flag.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 86c241a8c9a952ea8007066b70b04f435e2e483e)
(cherry picked from commit b3c8ce9e4343f1b68b9ba94bdd71b7d8e13b139a)

Gbp-Pq: Topic from-2.2.14
Gbp-Pq: Name sm-Print-Yubikey-attestation-extensions-with-dump-cert.patch
sm/keylist.c